package com.niit.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

@Configuration // Spring的配置类，相当于是xml bean的配置文件
@ComponentScan("com.niit") // <context:component-scan basepackage="com.niit"/>
@EnableAspectJAutoProxy // 开启AOP的注解支持 <aop:aspectj-autoproxy/>
public class MyConfig {

}
